package com.casstime.ec.cloud.service.couponPromotion;

import java.util.List;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.casstime.ec.cloud.coupon.models.ProductCouponActivity;
import com.casstime.ec.cloud.values.amountPromotion.AmountPromotionQueryRequest;

/**
 * 
 * ClassName: CouponPromotionService 
 * Function: (优惠券促销)
 * Reason: ADD REASON(可选).
 *  
 * @author hongcheng.wu  
 * 2018年5月3日 下午3:50:13
 * @version   
 * @since JDK 1.8
 */
@FeignClient("discount-service")
public interface CouponPromotionService {
	/**
	 * 
	 * queryCouponProList:(商品列表页查询多个商品相关的优惠券信息).<br/>  
	 * @return
	 * @throws Exception
	 * @author hongcheng.wu
	 * @date 2018年5月3日 下午3:48:09
	 */
	@RequestMapping(value = "/discount/couponPromotion/queryCouponProList", method = RequestMethod.POST)
	List<ProductCouponActivity> queryCouponProList(@RequestBody AmountPromotionQueryRequest queryRequest) throws Exception;
	
	
}
